Kjartan Maraas [Sun, 2 Jan 2011 18:32:29 +0000 (19:32 +0100)]
Updated Norwegian bokmål translation from Torstein Adolf Winterseth
Kjartan Maraas [Sun, 2 Jan 2011 18:31:56 +0000 (19:31 +0100)]
Updated Norwegian bokmål translation from Torstein Adolf Winterseth
John Ralls [Sun, 2 Jan 2011 18:23:20 +0000 (10:23 -0800)]
Fix refresh of static autorelease_pool so that it doesn't happen in gtk-nested loops.
Hans Breuer [Sun, 2 Jan 2011 11:36:16 +0000 (12:36 +0100)]
c99ism: declaration in the mid of a block
Hans Breuer [Sun, 2 Jan 2011 11:18:33 +0000 (12:18 +0100)]
win32: disable gdk_display_get_default ()->core_pointer
I neither know how to trigger this code nor what would be
the suggested replacement API. BUt it's the last thing stopping
me to compile GTK3 for win32.
Hans Breuer [Sun, 2 Jan 2011 11:11:34 +0000 (12:11 +0100)]
win32: include gtkprivate.h for win32 GTK_DATA_PREFIX
Hans Breuer [Sun, 2 Jan 2011 11:10:00 +0000 (12:10 +0100)]
Avoid C99 sinf()
Hans Breuer [Sun, 2 Jan 2011 11:07:47 +0000 (12:07 +0100)]
win32: use GtkSocketPrivate
Hans Breuer [Sun, 2 Jan 2011 11:06:38 +0000 (12:06 +0100)]
win32: ported backend specific code to now backend specific API
Hans Breuer [Sun, 2 Jan 2011 11:03:27 +0000 (12:03 +0100)]
Protect Unix specific print functions with G_OS_UNIX
Although gtk.symbols seems to be unused on Unix now it still
must not contain unprotected Unix only functions, because they
can not be exported on win32.
Hans Breuer [Sun, 2 Jan 2011 11:00:44 +0000 (12:00 +0100)]
win32: update msvc build
Hans Breuer [Sun, 2 Jan 2011 10:51:25 +0000 (11:51 +0100)]
win32: gdk3 resurrection
There are sure regressions but basic stuff seems to be working
again after all the API breakage done with comments like
"Win32 and Quartz need to be ported still."
Hans Breuer [Sun, 2 Jan 2011 12:29:23 +0000 (13:29 +0100)]
Protect inclusion of unistd.h
Hans Breuer [Sun, 2 Jan 2011 12:05:46 +0000 (13:05 +0100)]
Fix line endings
The unix version had CrLf which results in modified by checkout
under windows.
Daniel Nylander [Fri, 31 Dec 2010 00:42:34 +0000 (01:42 +0100)]
Updated Swedish translation
Daniel Nylander [Thu, 30 Dec 2010 20:15:44 +0000 (21:15 +0100)]
Updated Swedish translation
Jorge González [Wed, 29 Dec 2010 21:51:20 +0000 (22:51 +0100)]
Updated Spanish translation
Fran Diéguez [Wed, 29 Dec 2010 12:05:44 +0000 (13:05 +0100)]
Solved bug 638231 in Galician translations
Tristan Van Berkom [Wed, 29 Dec 2010 09:20:32 +0000 (18:20 +0900)]
Make GtkCheckButton's label left aligned by default.
Since we no longer limit the label's allocation to the minimum, now
we take a saner approach to left aligning the label.
Tristan Van Berkom [Wed, 29 Dec 2010 07:30:38 +0000 (16:30 +0900)]
Fixed unused variable in GtkCheckButton.
Tristan Van Berkom [Wed, 29 Dec 2010 07:26:05 +0000 (16:26 +0900)]
Fixed generic height-for-width implementation of GtkBin to consider request adjustments
Since "->adjust_size_request()" was added, it became important for GtkBin's
generic height-for-width implementation to further check the requests
using this vfunc.
Tristan Van Berkom [Wed, 29 Dec 2010 07:19:48 +0000 (16:19 +0900)]
Make GtkCheckButton allocate all remaining space to it's child instead
of limiting it to it's minimum size.
This fixes height-for-width labels inside a GtkCheckButton, for some
reason GtkCheckButton was limiting the child allocation to the child's
minimum request, probably for the sake of virtual left-alignment of
the child label to be beside the checkmark. This should be done by
other means if nescesarry.
Tristan Van Berkom [Wed, 29 Dec 2010 07:18:04 +0000 (16:18 +0900)]
Added proper height-for-width implementation to GtkAlignment.
For "padding" cases, it would be ok to fallback on GtkBin class
implementation of height-for-width. However in cases where the
user set's an xscale/yscale the GtkAlignment needs to take care
of properly adjusting the for_size when querying it's child.
Tristan Van Berkom [Wed, 29 Dec 2010 07:12:11 +0000 (16:12 +0900)]
Removed checks in gtksizerequest.c
Checks were in place to ensure that widgets never request taller
or wider than screen size. This was there to test a theory about
scrolled window children functioning correctly with dynamic content
however it breaks GtkViewport children which can generally return a
value taller than screen height intentionally, GtkViewport uses this
value to update the adjustments.
Carlos Garnacho [Tue, 28 Dec 2010 18:03:46 +0000 (19:03 +0100)]
Make GtkToolbar use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 18:02:40 +0000 (19:02 +0100)]
Make GtkHandleBox use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 17:59:45 +0000 (18:59 +0100)]
Make GtkSwitch use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 16:51:46 +0000 (17:51 +0100)]
Make GtkFileChooserEntry make GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 16:42:27 +0000 (17:42 +0100)]
Make GtkProgressBar use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 16:41:48 +0000 (17:41 +0100)]
Make GtkScrolledWindow use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 16:39:08 +0000 (17:39 +0100)]
Make GtkEventBox use GtkStyleContext.
Carlos Garnacho [Tue, 28 Dec 2010 16:37:22 +0000 (17:37 +0100)]
Make GtkFrame use GtkStyleContext.
Carlos Garnacho [Sat, 25 Dec 2010 10:59:56 +0000 (11:59 +0100)]
Fix leak in GtkStyle.
Tristan Van Berkom [Tue, 28 Dec 2010 14:15:39 +0000 (23:15 +0900)]
Avoid rendering frames when shadow type argument is GTK_SHADOW_NONE in
gtk_paint_* functions.
Ignacio Casal Quinteiro [Mon, 27 Dec 2010 23:03:29 +0000 (00:03 +0100)]
Fix docs.
Matthias Clasen [Tue, 28 Dec 2010 00:24:05 +0000 (19:24 -0500)]
Remove bashisms from configure.ac
Pointed out by Koop Mast in
https://bugzilla.gnome.org/show_bug.cgi?id=637974
Benjamin Otte [Mon, 27 Dec 2010 19:08:50 +0000 (20:08 +0100)]
API: gdk: Remove gdk_device_set_source()
The source of a device is not changeable.
Benjamin Otte [Mon, 27 Dec 2010 18:43:24 +0000 (19:43 +0100)]
testgtk: Don't use deprecated APIs
Benjamin Otte [Mon, 27 Dec 2010 18:27:16 +0000 (19:27 +0100)]
testgtk: Use the relevant device to query the widget to snapshot
Also gets rid of deprecated functions.
Benjamin Otte [Mon, 27 Dec 2010 17:45:39 +0000 (18:45 +0100)]
API: gdk: Make gdk_display_get_window_at_device_position() a device API
It's now called gdk_device_get_window_at_position(). It doesn't make
sense to keep device-specific API part of the display.
Benjamin Otte [Mon, 27 Dec 2010 17:03:38 +0000 (18:03 +0100)]
API: gdk: gdk_display_get_device_state() => gdk_device_get_position()
The API was not display-specific, but belonged to the device. Also, we
didn't find a user of the modifier mask, so we dropped it.
Alejandro Piñeiro [Sat, 25 Dec 2010 23:43:02 +0000 (00:43 +0100)]
[gail] Clean the code to check the redundan object on the show watcher
The watcher doesn't add a window if is a redundant object. This
patch fixes two things:
* The check was made twice.
* It uses a check with the string "redundant object", when the
defined role ATK_ROLE_REDUNDANT_OBJECT is available
Alejandro Piñeiro [Sat, 25 Dec 2010 23:13:07 +0000 (00:13 +0100)]
[gail] Proper connection to a toplevel window destroy signal
Only connect to the destroy of a toplevel window if it was
really added to the toplevel list of windows.
The destroy callback was added to remove the window from
the toplevel list. The callback doesn't cause a error,
but would iterate on the toplevel list without success.
Matthias Clasen [Mon, 27 Dec 2010 06:02:52 +0000 (01:02 -0500)]
Fix some issues with initial setup of GdkX11DisplayManager
We need to defer setting the default display until the
GdkDisplay is fully initialized. Also, short-circuit some
encoding conversions when creating windows, to avoid an
implicit dependency on the display being in the list of
displays yet.
Matthias Clasen [Mon, 27 Dec 2010 04:40:59 +0000 (23:40 -0500)]
GtkTreeView: Don't use deprecated grab api
Matthias Clasen [Mon, 27 Dec 2010 04:17:10 +0000 (23:17 -0500)]
Remove pointless sealing from GtkTextMark
Matthias Clasen [Mon, 27 Dec 2010 03:39:18 +0000 (22:39 -0500)]
Remove pointless sealing from GtkTextChild
Matthias Clasen [Mon, 27 Dec 2010 01:36:51 +0000 (20:36 -0500)]
Removed sealed members from GtkMenuItem
A S Alam [Mon, 27 Dec 2010 02:00:19 +0000 (07:30 +0530)]
update Punjabi Properities file
Benjamin Otte [Mon, 27 Dec 2010 00:05:40 +0000 (01:05 +0100)]
tooltip: Don't use deprecated APIs
Benjamin Otte [Sun, 26 Dec 2010 23:50:30 +0000 (00:50 +0100)]
notebook: Use nondeprecated API to query coordinates
Benjamin Otte [Sun, 26 Dec 2010 23:45:56 +0000 (00:45 +0100)]
hsv: Fix gcc warnings
Matthias Clasen [Sat, 25 Dec 2010 05:29:23 +0000 (00:29 -0500)]
Fix some more typos
Matthias Clasen [Sat, 25 Dec 2010 05:26:22 +0000 (00:26 -0500)]
Fix a few typos
Matthias Clasen [Sat, 25 Dec 2010 05:02:39 +0000 (00:02 -0500)]
Fix up GDK docs
Matthias Clasen [Sat, 25 Dec 2010 01:01:24 +0000 (20:01 -0500)]
Add deprecation guards for deprecated grab APIs
Matthias Clasen [Sat, 25 Dec 2010 01:00:19 +0000 (20:00 -0500)]
Don't use gdk_{pointer,keyboard}_grab
Instead use gdk_device_grab.
Matthias Clasen [Fri, 24 Dec 2010 22:37:00 +0000 (17:37 -0500)]
Add deprecation guards for deprecated GdkAppLaunchContext API
Also adapt the docs to not use deprecated API.
Matthias Clasen [Fri, 24 Dec 2010 22:36:19 +0000 (17:36 -0500)]
Avoid some gtk-doc warnings
Matthias Clasen [Fri, 24 Dec 2010 21:27:31 +0000 (16:27 -0500)]
Fix gdk_x11_display_text_property_to_text_list
This was an incomplete attempt to get rid of the custom free function.
Lets just keep it for now. Bug 637849, patch by Dan Winship.
Also add a test case for this function.
Matthias Clasen [Fri, 24 Dec 2010 20:54:12 +0000 (15:54 -0500)]
Consistently hide class structs
And, since we've decided to keep the structs private, there is
no point in having the standard GObject clas macros anymore either.
John Ralls [Fri, 24 Dec 2010 19:25:40 +0000 (11:25 -0800)]
Rename GdkQuartzWindow.h and .c to GdkQuartzNSWindow.h and .c
Normally HFS+ (the MacOSX file system) isn't case-sensitive, so having both
GtkQuartzWindow.h and gtkquartzwindow.h causes the latter to overwrite the
former during git pull, breaking the build.
Carlos Garnacho [Fri, 24 Dec 2010 19:16:22 +0000 (20:16 +0100)]
Use gtk_style_context_get_font() in GtkSpinButton
Carlos Garnacho [Fri, 24 Dec 2010 18:33:14 +0000 (19:33 +0100)]
Make GtkSeparator use GtkStyleContext
Carlos Garnacho [Fri, 24 Dec 2010 18:30:58 +0000 (19:30 +0100)]
Make GtkPaned use GtkStyleContext
Carlos Garnacho [Fri, 24 Dec 2010 18:21:39 +0000 (19:21 +0100)]
Do not set "entry" class in spinbutton buttons.
Also, fix an unpaired gtk_style_context_save() call.
Carlos Garnacho [Fri, 24 Dec 2010 17:05:07 +0000 (18:05 +0100)]
Bug 637910 - GtkSpinner - does not animate
Fix widget-to-window coordinates translation in the
style context animation code.
Carlos Garnacho [Tue, 21 Dec 2010 13:49:06 +0000 (14:49 +0100)]
Make GtkArrow use GtkStyleContext
Carlos Garnacho [Tue, 21 Dec 2010 17:44:53 +0000 (18:44 +0100)]
Fix color name (as of rgb.txt) parsing in symbolic colors
The end of the substring wasn't being detected properly.
Carlos Garnacho [Tue, 21 Dec 2010 13:47:17 +0000 (14:47 +0100)]
Make GtkAccelLabel use GtkStyleContext.
Javier Jardón [Fri, 24 Dec 2010 17:42:24 +0000 (18:42 +0100)]
gailmenushell.c: Fix typo
Javier Jardón [Fri, 24 Dec 2010 16:38:26 +0000 (17:38 +0100)]
build: Use autoreconf
Kristian Rietveld [Fri, 24 Dec 2010 13:45:19 +0000 (14:45 +0100)]
Check for NULL pointer
Javier Jardón [Fri, 24 Dec 2010 13:39:55 +0000 (14:39 +0100)]
docs: Add docs about how to get a GtkDevice
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=637895
Matthias Clasen [Fri, 24 Dec 2010 03:16:50 +0000 (22:16 -0500)]
Drop GtkThemeEngine
It is not used anymore.
Matthias Clasen [Fri, 24 Dec 2010 03:11:50 +0000 (22:11 -0500)]
Fix a few warnings
Matthias Clasen [Fri, 24 Dec 2010 03:11:28 +0000 (22:11 -0500)]
Add some missing includes
Matthias Clasen [Fri, 24 Dec 2010 02:55:47 +0000 (21:55 -0500)]
Remove sealed members from GtkSettings
Stef Walter [Fri, 24 Dec 2010 01:19:59 +0000 (19:19 -0600)]
Remove private header from gtkwindow.h
https://bugzilla.gnome.org/show_bug.cgi?id=637907
Matthias Clasen [Fri, 24 Dec 2010 01:11:38 +0000 (20:11 -0500)]
Add sufficient API to make gail work
The accessible implementations should really be folded into
gtk proper. Until that happens, we need some more guts exposed...
Matthias Clasen [Thu, 23 Dec 2010 23:21:53 +0000 (18:21 -0500)]
Remove sealed members from GtkMenuShell
Matthias Clasen [Thu, 23 Dec 2010 20:50:18 +0000 (15:50 -0500)]
Remove sealed members from GtkMenu
Jorge Gonzalez [Thu, 23 Dec 2010 19:37:52 +0000 (20:37 +0100)]
Updated Spanish translation
Gheyret T.Kenji [Thu, 23 Dec 2010 19:17:15 +0000 (20:17 +0100)]
Added UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 19:11:32 +0000 (20:11 +0100)]
Added UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 18:18:55 +0000 (19:18 +0100)]
Added UG translation
Matthias Clasen [Thu, 23 Dec 2010 18:01:21 +0000 (13:01 -0500)]
Reserve space for a pointer in GtkDrawingArea
It was pointed out that this will let us add a private pointer
without abi break in the future, should we ever need one.
Matthias Clasen [Thu, 23 Dec 2010 17:58:00 +0000 (12:58 -0500)]
Drop long-obsolete linux framebuffer APIs
The functions to set frames on windows stopped being interesting
when the linux framebuffer port was dropped, many years ago.
Similar functionality may come back with client-side decorations
in the future.
Kristian Rietveld [Thu, 23 Dec 2010 17:41:23 +0000 (18:41 +0100)]
GtkCellRendererText: use PANGO_PIXELS_CEIL for text_width
Usually pango_layout_get_pixel_extents() is used, which uses
PANGO_PIXELS_CEIL on the rectangle's width. This commit makes the new
function gtk_cell_renderer_text_get_preferred_width() consistent with
this.
This fixes rounding errors on Mac OS X, where we were seeing tree views
with a double height for a single line of text, while the usual single
row height would have been sufficient.
Kristian Rietveld [Thu, 23 Dec 2010 17:19:11 +0000 (18:19 +0100)]
Hide GtkTreeViewColumn buttons when header_window is not visible
Kristian Rietveld [Thu, 23 Dec 2010 13:38:03 +0000 (14:38 +0100)]
Delimit the other_entries array
Matthias Clasen [Thu, 23 Dec 2010 16:18:50 +0000 (11:18 -0500)]
Some small doc corrections
Matthias Clasen [Thu, 23 Dec 2010 15:06:08 +0000 (10:06 -0500)]
Update keymap docs to match current behaviour
An overlooked API change in the gdk-backend work: many of the
keymap functions used to accept NULL to mean 'default keymap'.
They no longer do, so update the docs to match the new behaviour.
Kristian Rietveld [Thu, 23 Dec 2010 13:13:35 +0000 (14:13 +0100)]
quartz: internalize _gdk_quartz_window_set_needs_display_in_region
Kristian Rietveld [Thu, 23 Dec 2010 13:11:38 +0000 (14:11 +0100)]
quartz: move gdkgeometry-quartz into gdkwindow-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 13:08:40 +0000 (14:08 +0100)]
quartz: reorder gdkprivate-quartz.h and related clean up
Kristian Rietveld [Thu, 23 Dec 2010 12:44:44 +0000 (13:44 +0100)]
quartz: _gdk_quartz_visual -> gdk_quartz_visual
Kristian Rietveld [Thu, 23 Dec 2010 12:43:29 +0000 (13:43 +0100)]
quartz: _gdk_quartz_screen -> gdk_quartz_screen
Kristian Rietveld [Thu, 23 Dec 2010 12:41:50 +0000 (13:41 +0100)]
quartz: _gdk_quartz_keymap -> gdk_quartz_keymap
Kristian Rietveld [Thu, 23 Dec 2010 12:39:07 +0000 (13:39 +0100)]
quartz: _gdk_quartz_display -> gdk_quartz_display